package com.juyu.miliao.api.dao.mysql;

import com.juyu.miliao.api.domain.TextCommunication;
import org.apache.ibatis.session.SqlSession;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Auther: 卜加超
 * @Date: 2019/4/24 11:33
 * @Description:
 */
@Repository
public class TextCommunicationDao {
    @Resource
    private  SqlSession sqlSession;

    public List<TextCommunication> getTextCommunicationList() {
        return sqlSession.selectList("getTextCommunicationList");
    }
}
